package mdp;

import java.io.IOException;

import org.apache.log4j.Logger;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class ServerMain {

	private static final Logger log = Logger.getLogger(ServerMain.class);
	
	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		String[] configLocations = new String[] { 
				"classpath:/spring-common.xml",
				"classpath:/spring-jms.xml",
				"classpath:/spring-jms-server.xml"};
		new ClassPathXmlApplicationContext(configLocations);
		log.info("Server successfully started!");
		
		System.in.read();
	}

}
